package com.link.base.ext.products.controller;


import com.link.base.ext.products.model.ExtProducts;
import com.link.base.ext.products.service.ExtProductsService;
import com.link.ext.basic.controller.BasicExtController;
import com.link.ext.basic.service.BasicExtService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping("/ext/extProduct")
public class ExtProductsController extends BasicExtController<ExtProducts> {

    @Resource
    private ExtProductsService extProductsService;

    @Override
    public BasicExtService<ExtProducts> getBasicService() throws Exception {
        return extProductsService;
    }

}
